package com.imooc.common.runtime;

import org.junit.Test;

public class RunTimeTest {

    @Test
    public void run1() {
        try {
            runtime();

        } catch (Exception e) {
            System.out.println(e.getMessage());
        }
    }


    public void runtime() {

        String s = "123";
        if (s != null) {
            throw new RuntimeException(s);
        }

    }

}
